home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 August (Alt) / CHIP 2005-08.1.iso / program / code / Firefox_1.0.5.exe / browser.xpi / bin / chrome / toolkit.jar / content / global / xul.css < prev   
Encoding:
Cascading Style Sheet File  |  2004-09-06  |  20.5 KB  |  881 lines

  1. /** this should only contain XUL dialog and document window widget defaults. Defaults for widgets of
  2.     a particular application should be in that application's style sheet.
  3.     For example style definitions for navigator can be found in navigator.css
  4.  
  5.    THIS FILE IS LOCKED DOWN.  YOU ARE NOT ALLOWED TO MODIFY IT WITHOUT FIRST HAVING YOUR
  6.    CHANGES REVIEWED BY hyatt@netscape.com.
  7. **/
  8.  
  9. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
  10. @namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */
  11. @namespace xbl url("http://www.mozilla.org/xbl"); /* namespace for XBL elements */
  12.  
  13. * {
  14.   -moz-user-focus: ignore;
  15.   display: -moz-box;
  16. }
  17.  
  18. /* hide the content, but don't destroy the frames.  Make sure this
  19. comes before any rules involving "hidden"  */
  20. *[collapsed="true"], *[moz-collapsed="true"] {
  21.   visibility: collapse;
  22. }
  23.  
  24. /* The rule for hidden comes AFTER the rule for collapsed.  That way if
  25. both are specified on an element, the hidden rule wins. */
  26. /* hide the content and destroy the frame */
  27. *[hidden="true"] {
  28.   display: none;
  29. }
  30.  
  31. /* ::::::::::
  32.    :: Rules for 'hiding' portions of the chrome for special
  33.    :: kinds of windows (not JUST browser windows) with toolbars
  34.    ::::: */
  35.  
  36. window[chromehidden~="menubar"] .chromeclass-menubar,
  37. window[chromehidden~="directories"] .chromeclass-directories,
  38. window[chromehidden~="status"] .chromeclass-status,
  39. window[chromehidden~="extrachrome"] .chromeclass-extrachrome,
  40. window[chromehidden~="location"] .chromeclass-location,
  41. window[chromehidden~="location"][chromehidden~="toolbar"] .chromeclass-toolbar,
  42. window[chromehidden~="toolbar"] .chromeclass-toolbar-additional
  43. {
  44.   display: none;
  45. }
  46.  
  47. /****** elements that have no visual representation ******/
  48.  
  49. script, data,
  50. xbl|children,
  51. commands, commandset, command,
  52. broadcasterset, broadcaster, observes,
  53. keyset, key, toolbarpalette, toolbarset,
  54. template, rule, conditions, action, 
  55. bindings, binding, content, member, triple,
  56. treechildren, treeitem, treeseparator, treerow, treecell {
  57.   display: none;
  58. }
  59.  
  60. /********** focus rules **********/
  61.  
  62. button,
  63. checkbox,
  64. colorpicker[type="button"],
  65. menulist,
  66. radiogroup,
  67. tree,
  68. browser,
  69. editor,
  70. iframe {
  71.   -moz-user-focus: normal;
  72. }
  73.  
  74. menulist[editable] {
  75.   -moz-user-focus: ignore;
  76. }
  77.  
  78. treecol,
  79. treerows,
  80. radio {
  81.   -moz-user-focus: none;
  82. }
  83.  
  84. /******** window & page ******/
  85.  
  86. window, 
  87. page {
  88.   overflow: -moz-hidden-unscrollable;
  89.   -moz-box-orient: vertical;
  90. }
  91.  
  92. /******** box *******/
  93.  
  94. vbox {
  95.   -moz-box-orient: vertical;
  96. }
  97.  
  98. bbox {
  99.   -moz-box-align: baseline;
  100. }
  101.  
  102. /********** button **********/
  103.  
  104. button {
  105.   -moz-binding: url("chrome://global/content/bindings/button.xml#button");
  106. }
  107.  
  108. button[type="menu"] {
  109.   -moz-binding: url("chrome://global/content/bindings/button.xml#menu");
  110. }
  111.  
  112. button[type="menu-button"] {
  113.   -moz-binding: url("chrome://global/content/bindings/button.xml#menu-button");
  114. }
  115.  
  116. /********** toolbarbutton **********/
  117.  
  118. toolbarbutton {
  119.   -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton");
  120. }
  121.  
  122. toolbarbutton[type="menu"] {
  123.   -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#menu");
  124. }
  125.  
  126. toolbarbutton[orient] {
  127.   -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#menu-orient");
  128. }
  129.  
  130. toolbarbutton[type="menu-button"] {
  131.   -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#menu-button");
  132. }
  133.  
  134. dropmarker[type="menu-button"] {
  135.   -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#dropmarker");
  136. }
  137.  
  138. /******** browser, editor, iframe ********/
  139.  
  140. browser,
  141. editor,
  142. iframe {
  143.   display: inline;
  144. }
  145.  
  146. browser {
  147.   -moz-binding: url("chrome://global/content/bindings/browser.xml#browser");
  148. }
  149.  
  150. browsermessage {
  151.   -moz-binding: url("chrome://global/content/bindings/browser.xml#browsermessage"); 
  152. }
  153.  
  154. tabbrowser {
  155.   -moz-binding: url("chrome://global/content/bindings/tabbrowser.xml#tabbrowser");
  156. }
  157.  
  158. editor {
  159.   -moz-binding: url("chrome://global/content/bindings/editor.xml#editor");
  160. }
  161.  
  162. iframe {
  163.   -moz-binding: url("chrome://global/content/bindings/general.xml#iframe");
  164. }
  165.  
  166. /********** image **********/
  167.  
  168. image {
  169.   -moz-binding: url("chrome://global/content/bindings/general.xml#image");
  170. }
  171.  
  172. /********** checkbox **********/
  173.  
  174. checkbox {
  175.   -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox");
  176. }
  177.  
  178. /********** radio **********/
  179.  
  180. radiogroup {
  181.   -moz-binding: url("chrome://global/content/bindings/radio.xml#radiogroup");
  182.   -moz-box-orient: vertical;
  183. }
  184.  
  185. radio {
  186.   -moz-binding: url("chrome://global/content/bindings/radio.xml#radio");
  187. }
  188.  
  189. /******** groupbox *********/
  190.  
  191. groupbox {
  192.   -moz-binding: url("chrome://global/content/bindings/groupbox.xml#groupbox");
  193.   display: -moz-groupbox;
  194. }
  195.  
  196. caption {
  197.   -moz-binding: url("chrome://global/content/bindings/groupbox.xml#caption");
  198. }
  199.  
  200. .groupbox-body {
  201.   -moz-box-pack: inherit;
  202.   -moz-box-align: inherit;
  203.   -moz-box-orient: vertical;
  204. }
  205.  
  206. /******* toolbar *******/
  207.  
  208. toolbox { 
  209.   -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbox");
  210.   -moz-box-orient: vertical;
  211. }
  212.   
  213. toolbar {
  214.   -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
  215. }
  216.  
  217.  
  218. toolbarseparator {
  219.   -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbardecoration");
  220. }
  221.  
  222. toolbarspacer {
  223.   -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbardecoration");
  224.   display: inline;
  225. }
  226.  
  227. toolbarspring {
  228.   -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbardecoration");
  229.   -moz-box-flex: 1000;
  230.   display: inline;
  231. }
  232.  
  233. toolbarpaletteitem {
  234.   -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbarpaletteitem");
  235. }
  236.  
  237. toolbarpaletteitem[place="palette"] {
  238.   -moz-box-orient: vertical;
  239.   -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbarpaletteitem-palette");
  240. }
  241.  
  242. /********* menubar ***********/
  243.  
  244. menubar {
  245.   -moz-binding: url("chrome://global/content/bindings/toolbar.xml#menubar");
  246. }
  247.  
  248. /********* menu ***********/
  249.  
  250. menubar > menu {
  251.   -moz-binding: url("chrome://global/content/bindings/menu.xml#menu-menubar");
  252. }
  253.  
  254. menubar > menu.menu-iconic {
  255.   -moz-binding: url("chrome://global/content/bindings/menu.xml#menu-menubar-iconic");
  256. }
  257.  
  258. menu {
  259.   -moz-binding: url("chrome://global/content/bindings/menu.xml#menu");
  260. }
  261.   
  262. menu.menu-iconic {
  263.   -moz-binding: url("chrome://global/content/bindings/menu.xml#menu-iconic");
  264. }
  265.  
  266. /********* menuitem ***********/
  267.  
  268. menuitem {
  269.   -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem");
  270. }
  271.  
  272. menuitem.menuitem-iconic {
  273.   -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic");
  274. }
  275.  
  276. menuitem[type="checkbox"],
  277. menuitem[type="radio"] {
  278.   -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic");
  279. }
  280.  
  281. menuitem.menuitem-non-iconic {
  282.   -moz-binding: url("chrome://global/content/bindings/menu.xml#menubutton-item");
  283. }
  284.  
  285. /********* menuseparator ***********/
  286.  
  287. menuseparator {
  288.   -moz-binding: url("chrome://global/content/bindings/menu.xml#menuseparator");
  289. }
  290.  
  291. /********* popup & menupopup ***********/
  292.  
  293. /* <popup> is deprecated.  Only <menupopup> and <tooltip> are still valid. */ 
  294.  
  295. popup,
  296. menupopup {
  297.   -moz-binding: url("chrome://global/content/bindings/popup.xml#popup");
  298.   -moz-box-orient: vertical;
  299.   display: none;
  300. }
  301.  
  302. popup,
  303. menupopup,
  304. tooltip {
  305.   z-index: 2147483647; 
  306. }
  307.  
  308. menupopup[menugenerated="true"],
  309. popup[menugenerated="true"],
  310. tooltip[menugenerated="true"] {
  311.   display: -moz-popup;
  312. }
  313.  
  314. tooltip {
  315.   -moz-binding: url("chrome://global/content/bindings/popup.xml#tooltip");
  316.   display: -moz-popup;
  317.   margin-top: 21px;
  318. }
  319.  
  320. window[sizemode="maximized"] statusbarpanel.statusbar-resizerpanel {
  321.   visibility: collapse;
  322. }
  323.  
  324. /********** floating popups **********/
  325.  
  326. /*
  327. titlebar {
  328.   -moz-binding: url("chrome://global/content/bindings/popup.xml#titlebar");  
  329. }  
  330.  
  331. resizer[resizerdirection="right"] {
  332.   -moz-binding: url("chrome://global/content/bindings/popup.xml#ew-resizer");
  333. }  
  334.  
  335. resizer[resizerdirection="bottom"] {
  336.   -moz-binding: url("chrome://global/content/bindings/popup.xml#ns-resizer");
  337. }  
  338.  
  339. resizer[resizerdirection="bottomright"] {
  340.   -moz-binding: url("chrome://global/content/bindings/popup.xml#diag-resizer");  
  341. }  
  342.  
  343. floatingwindow {
  344.   -moz-binding: url("chrome://global/content/bindings/popup.xml#floater-normal");
  345.   -moz-box-orient: vertical;
  346.   display: none;
  347.   z-index: 2147483647; 
  348. }
  349.  
  350. floatingwindow[docked="left"] {
  351.   -moz-binding: url("chrome://global/content/bindings/popup.xml#floater-dock-left");
  352. }
  353.  
  354. button.popupClose {
  355.   -moz-binding: url("chrome://global/content/bindings/popup.xml#close-button") !important;
  356. }  
  357. */
  358. /******** grid **********/
  359.  
  360. grid {
  361.   display: -moz-grid;
  362. }
  363.  
  364. rows, 
  365. columns {
  366.   display: -moz-grid-group;
  367. }
  368.  
  369. row,
  370. column {
  371.   display: -moz-grid-line;
  372. }
  373.  
  374. rows {
  375.   -moz-box-orient: vertical;
  376. }
  377.  
  378. column {
  379.   -moz-box-orient: vertical;
  380. }
  381.  
  382. /******** listbox **********/
  383.  
  384. listbox {
  385.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listbox");
  386. }
  387.  
  388. listcols, listcol {
  389.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listbox-base");
  390. }
  391.  
  392. listhead {
  393.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listhead");
  394. }
  395.  
  396. listrows {
  397.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listrows");
  398. }
  399.  
  400. listitem {
  401.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listitem");
  402. }
  403.  
  404. listitem[type="checkbox"] {
  405.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listitem-checkbox");
  406. }
  407.  
  408. listheader {
  409.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listheader");
  410.   -moz-box-ordinal-group: 2147483646;
  411. }
  412.  
  413. listcell {
  414.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listcell");
  415. }
  416.  
  417. listcell[type="checkbox"] {
  418.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listcell-checkbox");
  419. }
  420.  
  421. .listitem-iconic {
  422.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listitem-iconic");
  423. }
  424.  
  425. listitem[type="checkbox"].listitem-iconic {
  426.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listitem-checkbox-iconic");
  427. }
  428.  
  429. .listcell-iconic {
  430.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listcell-iconic");
  431. }
  432.  
  433. listcell[type="checkbox"].listcell-iconic {
  434.   -moz-binding: url("chrome://global/content/bindings/listbox.xml#listcell-checkbox-iconic");
  435. }
  436.  
  437. listbox {
  438.   display: -moz-grid;
  439. }
  440.  
  441. listbox[rows] {
  442.   height: auto;
  443. }
  444.  
  445. listcols, listhead, listrows, listboxbody {
  446.   display: -moz-grid-group;
  447. }
  448.  
  449. listcol, listitem, listheaditem {
  450.   display: -moz-grid-line;
  451. }
  452.  
  453. listbox {
  454.   -moz-user-focus: normal;
  455.   -moz-box-orient: vertical;
  456.   min-width: 0px;
  457.   min-height: 0px;
  458.   width: 200px;
  459.   height: 200px;
  460. }
  461.  
  462. listhead, listrows, listboxbody {
  463.   -moz-user-focus: none;
  464. }
  465.  
  466. listhead {
  467.   -moz-box-orient: vertical;
  468. }
  469.  
  470. listrows {
  471.   -moz-box-orient: vertical;
  472.   -moz-box-flex: 1;
  473. }
  474.  
  475. listboxbody {
  476.   -moz-box-orient: vertical;
  477.   -moz-box-flex: 1;
  478.   overflow: auto;
  479.   min-height: 0px;
  480. }
  481.  
  482. listcol {
  483.   -moz-box-orient: vertical;
  484.   min-width: 16px;
  485. }
  486.  
  487. listcell {
  488.   -moz-box-align: center;
  489. }
  490.  
  491. /******** tree ******/
  492.  
  493. tree {
  494.   -moz-binding: url("chrome://global/content/bindings/tree.xml#tree");
  495. }
  496.  
  497. treecols {
  498.   -moz-binding: url("chrome://global/content/bindings/tree.xml#treecols");
  499. }
  500.  
  501. treecol {
  502.   -moz-binding: url("chrome://global/content/bindings/tree.xml#treecol");
  503.   -moz-box-ordinal-group: 2147483646;
  504. }
  505.  
  506. treecol.treecol-image {
  507.   -moz-binding: url("chrome://global/content/bindings/tree.xml#treecol-image");
  508. }
  509.  
  510. tree > treechildren {
  511.   display: -moz-box;
  512.   -moz-binding: url("chrome://global/content/bindings/tree.xml#treebody");
  513.   -moz-user-focus: none;
  514.   -moz-user-select: none;
  515.   -moz-box-flex: 1;
  516. }
  517.  
  518. treerows {
  519.   -moz-binding: url("chrome://global/content/bindings/tree.xml#treerows");
  520. }
  521.  
  522. treecolpicker {
  523.   -moz-binding: url("chrome://global/content/bindings/tree.xml#columnpicker");
  524. }
  525.  
  526. tree {
  527.   -moz-box-orient: vertical;
  528.   -moz-user-select: none;
  529.   min-width: 0px;
  530.   min-height: 0px;
  531.   width: 10px;
  532.   height: 10px;
  533. }
  534.  
  535. tree[hidecolumnpicker="true"] > treecols > treecolpicker {
  536.   display: none;
  537. }
  538.  
  539. treecol {
  540.   min-width: 16px;
  541. }
  542.  
  543. treecol[hidden="true"] {
  544.   visibility: collapse;
  545.   display: -moz-box;
  546. }
  547.  
  548. /********** deck & stack *********/
  549.  
  550. deck {
  551.   display: -moz-deck;
  552.   -moz-binding: url("chrome://global/content/bindings/general.xml#deck");
  553. }
  554.  
  555. stack, bulletinboard {
  556.   display: -moz-stack;
  557. }
  558.  
  559. /********** tabbox *********/
  560.  
  561. tabbox {
  562.   -moz-binding: url("chrome://global/content/bindings/tabbox.xml#tabbox");
  563.   -moz-box-orient: vertical;
  564. }
  565.  
  566. tabs {
  567.   -moz-binding: url("chrome://global/content/bindings/tabbox.xml#tabs");
  568.   -moz-box-orient: horizontal;
  569. }
  570.  
  571. tabs[closebutton="true"] {
  572.   -moz-binding: url("chrome://global/content/bindings/tabbox.xml#tabs-closebutton");
  573. }
  574.  
  575. tab {
  576.   -moz-binding: url("chrome://global/content/bindings/tabbox.xml#tab");
  577.   -moz-box-align: center;
  578.   -moz-box-pack: center;
  579. }
  580.  
  581. tabpanels {
  582.   -moz-binding: url("chrome://global/content/bindings/tabbox.xml#tabpanels");
  583.   display: -moz-deck;
  584. }
  585.  
  586. /********** progressmeter **********/
  587.  
  588. progressmeter {
  589.   -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter");
  590. }
  591.  
  592. /********** basic rule for anonymous content that needs to pass box properties through
  593.  ********** to an insertion point parent that holds the real kids **************/
  594.  
  595.  .box-inherit {
  596.    -moz-box-orient: inherit;
  597.    -moz-box-pack: inherit;
  598.    -moz-box-align: inherit;
  599.    -moz-box-direction: inherit;
  600. }
  601.  
  602. /********** label **********/
  603.  
  604. spacer {
  605.   display: inline;
  606. }
  607.  
  608. description {
  609.   -moz-binding: url("chrome://global/content/bindings/text.xml#text-base");
  610. }
  611.  
  612. label {
  613.   -moz-binding: url("chrome://global/content/bindings/text.xml#text-label");
  614. }
  615.  
  616. label.text-link {
  617.   -moz-binding: url("chrome://global/content/bindings/text.xml#text-link");
  618.   -moz-user-focus: normal;
  619. }
  620.  
  621. label[control] {
  622.   -moz-binding: url("chrome://global/content/bindings/text.xml#label-control");
  623. }
  624.  
  625. /********** textbox **********/
  626.  
  627. textbox {
  628.   -moz-binding: url("chrome://global/content/bindings/textbox.xml#textbox");
  629.   -moz-user-select: text;
  630. }
  631.  
  632. textbox[multiline="true"] {
  633.   -moz-binding: url("chrome://global/content/bindings/textbox.xml#textarea");
  634. }
  635.  
  636. html|*.textbox-input {
  637.   -moz-appearance: none !important;
  638.   text-align: inherit;
  639. }
  640.  
  641. html|*.textbox-textarea {
  642.   -moz-appearance: none !important;
  643. }
  644.  
  645. .textbox-input-box {
  646.   -moz-binding: url("chrome://global/content/bindings/textbox.xml#input-box");
  647. }
  648.  
  649. textbox[type="timed"] {
  650.   -moz-binding: url("chrome://global/content/bindings/textbox.xml#timed-textbox");
  651. }
  652.  
  653. /********** autocomplete textbox **********/
  654.  
  655. /* thunderbird and Nvu don't use the new toolkit's autocomplete widget yet.... */
  656.  
  657.  
  658.  
  659. textbox[type="autocomplete"] {
  660.   -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete");
  661. }
  662.  
  663. popup[type="autocomplete"] {
  664.   -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-result-popup");
  665.   display: -moz-popup !important;
  666. }
  667.  
  668. .autocomplete-tree {
  669.   -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-tree");
  670. }
  671.  
  672. .autocomplete-treebody {
  673.   -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-treebody");
  674. }
  675.  
  676. .autocomplete-treerows {
  677.   -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-treerows");
  678. }
  679.  
  680. .autocomplete-history-dropmarker {
  681.   display: none;
  682. }
  683.  
  684. .autocomplete-history-dropmarker[enablehistory="true"] {
  685.   display: -moz-box;
  686.   -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#history-dropmarker");
  687. }
  688.  
  689.  
  690.  
  691.  
  692. /* the C++ implementation of widgets is too eager to make popups visible.
  693.    this causes problems (bug 120155 and others), thus this workaround: */
  694. popup[type="autocomplete"][hidden="true"] {
  695.   visibility: hidden;
  696. }
  697.  
  698. /* The following rule is here to fix bug 96899 (and now 117952).  
  699.    Somehow trees create a situation
  700.    in which a popupset flows itself as if its popup child is directly within it
  701.    instead of the placeholder child that should actually be inside the popupset.
  702.    This is a stopgap measure, and it does not address the real bug.  */
  703. .autocomplete-result-popupset {
  704.   max-width: 0px;
  705.   width: 0 !important;
  706. }
  707.  
  708. /********** colorpicker **********/
  709.  
  710. colorpicker {
  711.   -moz-binding: url("chrome://global/content/bindings/colorpicker.xml#colorpicker");
  712. }
  713.  
  714. colorpicker[type="button"] {
  715.   -moz-binding: url("chrome://global/content/bindings/colorpicker.xml#colorpicker-button");
  716. }
  717.  
  718. .colorpickertile {
  719.   -moz-binding: url("chrome://global/content/bindings/colorpicker.xml#colorpickertile");
  720. }
  721.  
  722. /********** menulist **********/
  723.  
  724. menulist {
  725.   -moz-binding: url("chrome://global/content/bindings/menulist.xml#menulist");
  726. }
  727.  
  728. menulist[editable] {
  729.   -moz-binding: url("chrome://global/content/bindings/menulist.xml#menulist-editable");
  730. }
  731.  
  732. html|*.menulist-editable-input {
  733.   -moz-appearance: none !important;
  734. }
  735.  
  736. menulist > menupopup > menuitem {
  737.   -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic-noaccel");
  738. }
  739.  
  740. dropmarker[type="menu"] {
  741.   -moz-binding: url("chrome://global/content/bindings/general.xml#dropmarker");
  742. }
  743.  
  744. /********** splitter **********/
  745.  
  746. splitter {
  747.   -moz-binding: url("chrome://global/content/bindings/splitter.xml#splitter");
  748. }
  749.  
  750. grippy {
  751.   -moz-binding: url("chrome://global/content/bindings/splitter.xml#grippy");
  752. }
  753.  
  754. .tree-splitter {
  755.   width: 0px;
  756.   max-width: 0px;
  757.   -moz-box-ordinal-group: 2147483646;
  758. }
  759.  
  760. /********** scrollbar **********/
  761.  
  762. /* Scrollbars are never flipped even if BiDI kicks in. */
  763. scrollbar {
  764.   direction: ltr;
  765. }
  766.  
  767. thumb 
  768. {
  769.   -moz-binding: url(chrome://global/content/bindings/scrollbar.xml#thumb);
  770. }
  771.  
  772. scrollbar, scrollbarbutton, slider, thumb {
  773.   -moz-user-select: none;
  774. }
  775.  
  776. scrollbar[value="hidden"] {
  777.   visibility: hidden;
  778. }
  779.  
  780. /******** scrollbox ********/
  781.  
  782. scrollbox {
  783.   -moz-binding: url("chrome://global/content/bindings/scrollbox.xml#scrollbox");
  784. }
  785.  
  786. arrowscrollbox {
  787.   -moz-binding: url("chrome://global/content/bindings/scrollbox.xml#arrowscrollbox");
  788. }
  789.  
  790. autorepeatbutton {
  791.   -moz-binding: url("chrome://global/content/bindings/scrollbox.xml#autorepeatbutton");
  792. }
  793.  
  794. /********** statusbar **********/
  795.  
  796. statusbar 
  797. {
  798.   -moz-binding: url("chrome://global/content/bindings/general.xml#statusbar");
  799. }
  800.  
  801. statusbarpanel {
  802.   -moz-binding: url("chrome://global/content/bindings/general.xml#statusbarpanel");
  803. }
  804.  
  805. .statusbarpanel-iconic {
  806.   -moz-binding: url("chrome://global/content/bindings/general.xml#statusbarpanel-iconic");
  807. }
  808.  
  809. .statusbarpanel-iconic-text {
  810.   -moz-binding: url("chrome://global/content/bindings/general.xml#statusbarpanel-iconic-text");
  811. }
  812.  
  813. .statusbarpanel-menu-iconic {
  814.   -moz-binding: url("chrome://global/content/bindings/general.xml#statusbarpanel-menu-iconic");
  815. }
  816.  
  817. /********** spinbuttons ***********/
  818.  
  819. spinbuttons {
  820.   -moz-binding: url("chrome://global/content/bindings/spinbuttons.xml#spinbuttons");
  821. }
  822.  
  823. /********** stringbundle **********/
  824.  
  825. stringbundleset {
  826.   -moz-binding: url("chrome://global/content/bindings/stringbundle.xml#stringbundleset");
  827.   visibility: collapse;
  828. }
  829.  
  830. stringbundle {
  831.   -moz-binding: url("chrome://global/content/bindings/stringbundle.xml#stringbundle");
  832.   visibility: collapse;
  833. }
  834.  
  835. /********** dialog **********/
  836.  
  837. dialog {
  838.   -moz-binding: url("chrome://global/content/bindings/dialog.xml#dialog");
  839.   -moz-box-orient: vertical;
  840. }
  841.  
  842. dialogheader {
  843.   -moz-binding: url("chrome://global/content/bindings/dialog.xml#dialogheader");
  844. }
  845.  
  846. /********* page ************/
  847.  
  848. page {
  849.   -moz-box-orient: vertical;
  850. }
  851.  
  852. /********** wizard **********/
  853.  
  854. wizard {
  855.   -moz-binding: url("chrome://global/content/bindings/wizard.xml#wizard");
  856.   -moz-box-orient: vertical;
  857.   width: 40em;
  858.   height: 30em;
  859. }
  860.  
  861. wizardpage {
  862.   -moz-binding: url("chrome://global/content/bindings/wizard.xml#wizardpage");
  863.   -moz-box-orient: vertical;
  864.   overflow: auto;
  865. }
  866.  
  867. .wizard-header {
  868.   -moz-binding: url("chrome://global/content/bindings/wizard.xml#wizard-header");
  869. }
  870.  
  871. .wizard-buttons {
  872.   -moz-binding: url("chrome://global/content/bindings/wizard.xml#wizard-buttons");
  873. }
  874.  
  875. /********** expander ********/
  876.  
  877. expander {
  878.   -moz-binding: url("chrome://global/content/bindings/expander.xml#expander");
  879.   -moz-box-orient: vertical;
  880. }
  881.